/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package pl.edu.amu.wmi.kino.visualjavafx.model.generators;

import pl.edu.amu.wmi.kino.visualjavafx.model.animation.interpolators.Interpolation;
import pl.edu.amu.wmi.kino.visualjavafx.model.animation.transformations.ChangeBorderWidth;

/**
 *
 * @author Admin
 */
public class ModelChangeBorderWidthGenerator {
    public static ChangeBorderWidth generateChangeBorderWidth(Interpolation i,
            double destinedWidth){
        ChangeBorderWidth res = new ChangeBorderWidth();
        res.setInterpolation(i);
        res.setDestinedWidth(destinedWidth);
        return res;

    }
}
